package com.tongtong.controller.email.vo;

import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
public class EmailRequest {
    @Data
    public static class sendEmail{
        @NotNull(message = "收件人不能为空")
        private String toEmail;
        @NotNull(message = "收件人不能为空")
        private String subject;
    }
}
